package com.yrc.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Description: BaseController
 *
 * @author: YeRuichang
 * @version: 1.0
 * Create at: 2020/3/19 17:30
 * _
 * Copyright:   Copyright (c)2020
 * Company:     songxiaocai
 * _
 * Modification History:
 * Date              Author      Version     Description
 * ------------------------------------------------------------------
 * 2020/3/19 17:30   YeRuichang    1.0
 */
@Controller
@RequestMapping(value = "/base")
public class BaseController {

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    @ResponseBody
    public String getInfo(HttpServletRequest request){
        return "true";
    }
}
